package bravo.xc.com.xc_bravo_android.operation.transaction;

import bravo.xc.com.xc_bravo_android.base.BasePresenter;
import bravo.xc.com.xc_bravo_android.base.BaseView;
import bravo.xc.com.xc_bravo_android.beans.CommonBeans;
import bravo.xc.com.xc_bravo_android.beans.TransactionBeans;

/**
 * CREATED BY YANK
 * DATE : 2017/11/3
 * MAIL : YANK.TENYOND@GMAIL.COM
 * FUNCTION :
 */

public interface TransactionContract {

    interface TransactionView extends BaseView{

        boolean checkNull();
        void showProgress(boolean show);
        void setTradeData(float today,float total);
    }

    abstract class TransactionPresenter extends BasePresenter<TransactionView>{

        public abstract void doRedeem(TransactionBeans transactionBeans);
        public abstract void doGeTrade(CommonBeans commonBeans);
    }

}
